-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Onboarding] fix skipped api key tests #195911
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, approved assuming we run the Flakey Test Runner and everything looks good.
@elasticmachine merge upstream |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7136[❌] x-pack/test_serverless/functional/test_suites/search/config.feature_flags.ts: 0/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7144[✅] x-pack/test_serverless/api_integration/test_suites/search/config.feature_flags.ts: 15/15 tests passed. |
@elasticmachine merge upstream |
merge conflict between base and head |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7149[✅] x-pack/test_serverless/api_integration/test_suites/search/config.feature_flags.ts: 25/25 tests passed. |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
|
Starting backport for target branches: 8.x |
## Summary Failing due to api keys could not be generated as keys were created previously and were purged in session. Fix is to move the deletion to run at beforeEach rather than the start. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit 708bf08)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Onboarding] fix skipped api key tests (#195911)](#195911) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Joe McElroy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-16T18:50:33Z","message":"[Onboarding] fix skipped api key tests (#195911)\n\n## Summary\r\n\r\nFailing due to api keys could not be generated as keys were created\r\npreviously and were purged in session. Fix is to move the deletion to\r\nrun at beforeEach rather than the start.\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"708bf08f91502a501f9744a4a0b35c6cbdeb9990","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor"],"title":"[Onboarding] fix skipped api key tests","number":195911,"url":"https://github.com/elastic/kibana/pull/195911","mergeCommit":{"message":"[Onboarding] fix skipped api key tests (#195911)\n\n## Summary\r\n\r\nFailing due to api keys could not be generated as keys were created\r\npreviously and were purged in session. Fix is to move the deletion to\r\nrun at beforeEach rather than the start.\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"708bf08f91502a501f9744a4a0b35c6cbdeb9990"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195911","number":195911,"mergeCommit":{"message":"[Onboarding] fix skipped api key tests (#195911)\n\n## Summary\r\n\r\nFailing due to api keys could not be generated as keys were created\r\npreviously and were purged in session. Fix is to move the deletion to\r\nrun at beforeEach rather than the start.\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"708bf08f91502a501f9744a4a0b35c6cbdeb9990"}}]}] BACKPORT--> Co-authored-by: Joe McElroy <[email protected]>
## Summary Failing due to api keys could not be generated as keys were created previously and were purged in session. Fix is to move the deletion to run at beforeEach rather than the start. - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed --------- Co-authored-by: Elastic Machine <[email protected]>
Summary
Failing due to api keys could not be generated as keys were created previously and were purged in session. Fix is to move the deletion to run at beforeEach rather than the start.